﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Orchard.UI.Notify;
using Orchard.Security;
using Orchard.Data;
using Orchard.ContentManagement;
using Orchard;

namespace Downplay.Science.Tests.Mechanics {

    public class StubOrchardServices : IOrchardServices {
        private readonly IContentManager _contentManager;
        private readonly IAuthorizer _authorizer;
        private readonly IWorkContextAccessor _workContextAccessor;

        public StubOrchardServices(
            IContentManager contentManager,
            IAuthorizer authorizer,
            IWorkContextAccessor workContextAccessor) {

                _contentManager = contentManager;
                _authorizer = authorizer;
                _workContextAccessor = workContextAccessor;
        }

        public IContentManager ContentManager {
            get { return _contentManager; }
        }

        public ITransactionManager TransactionManager {
            get { throw new NotImplementedException(); }
        }

        public IAuthorizer Authorizer {
            get { return _authorizer; }
        }

        public INotifier Notifier {
            get { throw new NotImplementedException(); }
        }

        public dynamic New {
            get { throw new NotImplementedException(); }
        }

        public WorkContext WorkContext {
            get { throw new NotImplementedException(); }
        }
    }
}
